<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/8
 * Time: 14:06
 */
class base
{
    private $arr = array("Cat"=>array('sssss'),"Dog"=>'ggggggg');


    public function test()
    {
        array_unshift($this->arr,"Horse");
        print_r($this->arr);
    }


    public function rs()
    {
        $b = array_reverse($this->arr);
         print_r($b);
    }

}

$base = new Base();
$base->test();
$base->rs();
